/*
 * AS_UPDATE_WORLDBOSS_RANK.cpp
 *
 *  Created on: 2014. 2. 26.
 *      Author: zenoniaonline
 */


/*
 * AS_RESOURCE_RELOAD.cpp
 *
 *  Created on: 2013. 12. 5.
 *      Author: mega
 */

#include "../../User.h"
#include "../../Command.h"
#include "../../NLogic/Static.h"

namespace ProjectZ { namespace NCommand {

void Command::AS_UPDATE_WORLDBOSS_RANK(User * pUser, ::Network::Packet * pPacket)
{
	PREPARE_PACKET;

	NLogic::Static::Instance().GETWORLDBOSSRANK()->LoadWorldBossRank();

	::Network::Packet * pAck = ::Network::GETPACKETPOOL()->SEND_NEW();
	*pAck << static_cast<uint8_t>(ACK_OK);
	pAck->MakePacket(CMD_SA_UPDATE_WORLDBOSS_RANK);
	pUser->Send(pAck);

}

} /*NCommand*/ } /*ProjectZ*/


